package kr.co.doriclassic.pro11;

public class Melone extends Food {
	private String farmInfo;
	public Melone(int calorie, int price, int weight) {
		super(calorie, price, weight);
	}
	

	public Melone(int calorie, int price, int weight, String farmInfo) {
		super(calorie, price, weight);
		this.farmInfo = farmInfo;
	}


	public String getFarmInfo() {
		return farmInfo;
	}

	public void setFarmInfo(String farmInfo) {
		this.farmInfo = farmInfo;
	}

	@Override
	public String toString() {
		return "Melone [getFarmInfo()=" + getFarmInfo() + ", getCalorie()="
				+ getCalorie() + ", getPrice()=" + getPrice()
				+ ", getWeight()=" + getWeight() + "]";
	}	
}